package com.leedsoft.spittr.qualifers;

import org.springframework.beans.factory.annotation.Qualifier;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by leeds on 2017/11/16.
 */
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD, ElementType.CONSTRUCTOR})//可注解的目标：type类、method方法
@Retention(RetentionPolicy.RUNTIME)//注解保留到阶段上限：runtime运行时（阶段分类从下到上：SOURCE源代码、CLASS编译器、RUNTIME jvm/可用于反射）
@Qualifier//注解继承
public @interface Book2 {
}
